If a String Contains a Specific Word in PHP

122

If a String Contains a Specific Word in PHP -

if (str_contains('How are you', 'are')) { 
    echo 'true';
}

Comments

Submit
0 Comments